package com.lyl.projectspringboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyl.projectspringboot.dto.LoginDto;
import com.lyl.projectspringboot.dto.UserDto;
import com.lyl.projectspringboot.dto.UserRegisterDto;
import com.lyl.projectspringboot.entity.User;

import java.util.List;

public interface UserService extends IService<User> {

    public UserDto getUserDtoById(String userId);

    public boolean UpdateUserById(UserDto userDto);

    public List<UserDto> getAllUserOrderById(Long pageNo, Long pageSize);

    public Boolean userLogin(LoginDto loginDto);

    public Boolean UserRegister(UserRegisterDto userRegisterDto);

}
